package cn.yunhe.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class Account {
	private int accountId;
	private String userName;
	private double balances;
	private Date createDate;
	private Set<Record> records=new HashSet<Record>();
	public Account() {
		
	}
	public Account(int accountId, String userName, double balances,
			Date createDate) {
		this.accountId = accountId;
		this.userName = userName;
		this.balances = balances;
		this.createDate = createDate;
	}
	public int getAccountId() {
		return accountId;
	}
	public void setAccountId(int accountId) {
		this.accountId = accountId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public double getBalances() {
		return balances;
	}
	public void setBalances(double balances) {
		this.balances = balances;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Set<Record> getRecords() {
		return records;
	}
	public void setRecords(Set<Record> records) {
		this.records = records;
	}
	
}
